package com.car.rental.order.service;

import com.car.rental.common.core.response.ResponseResult;
import com.car.rental.order.dto.RentalExtensionDTO;
import com.car.rental.order.dto.EarlyReturnDTO;

public interface RentalPeriodService {
    /**
     * 续租
     */
    ResponseResult<Void> extendRental(Long userId, RentalExtensionDTO extensionDTO);
    
    /**
     * 提前还车
     */
    ResponseResult<Void> earlyReturn(Long userId, EarlyReturnDTO returnDTO);
    
    /**
     * 检查是否超时
     */
    ResponseResult<Boolean> checkOvertime(String orderNo);
    
    /**
     * 发送租期提醒
     */
    void sendRentalReminder(String orderNo);
} 